cURL
curl --request DELETE \ --url https://agent-prod.studio.lyzr.ai/v3/agents/{agent_id} \ --header 'x-api-key: <api-key>'
{ "message": "Agent deleted successfully." }
/v3/agents/{agent_id}
x-api-key
agent_id
curl -X DELETE "https://agent-prod.studio.lyzr.ai/v3/agents/{agent_id}" ^ -H "accept: application/json" ^ -H "x-api-key: sk-default-REPLACED-API-KEY"
Unique identifier of the agent to delete.
Agent deleted successfully
The response is of type object.
object